package src.main.kotlin.day91

/**
 * 接口定义
 */
fun main() {

}

interface Movable{
    var maxSpeed:Int
    var wheels:Int

    fun move(movable: Movable):String
}

/**
 * 实现接口
 *  重写属性：wheels
 *
 *  实现方法
 */
class car(_name:String, override var wheels: Int) : Movable{
    override var maxSpeed: Int
        get() = TODO("Not yet implemented")
        set(value) {}

    override fun move(movable: Movable): String {
        TODO("Not yet implemented")
    }

}
